package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.TemplateMedicalField;
import com.zshan.clinic.database.model.TemplateMedicalFieldExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TemplateMedicalFieldMapper extends SuperMapper {
    long countByExample(TemplateMedicalFieldExample example);

    int deleteByExample(TemplateMedicalFieldExample example);

    int deleteByPrimaryKey(Long templateId);

    int insert(TemplateMedicalField row);

    int insertSelective(TemplateMedicalField row);

    List<TemplateMedicalField> selectByExample(TemplateMedicalFieldExample example);

    TemplateMedicalField selectByPrimaryKey(Long templateId);

    int updateByExampleSelective(@Param("row") TemplateMedicalField row, @Param("example") TemplateMedicalFieldExample example);

    int updateByExample(@Param("row") TemplateMedicalField row, @Param("example") TemplateMedicalFieldExample example);

    int updateByPrimaryKeySelective(TemplateMedicalField row);

    int updateByPrimaryKey(TemplateMedicalField row);
}